package model

import (
	"time"
)

const SettingEquipName = "setting_equip"

type SettingEquip struct {
	Id   int               `json:"id" orm:"auto" sql:"INT"`
	Name map[string]string `json:"name" sql:"JSON"`
	Desc map[string]string `json:"desc" sql:"JSON"`
	Icon string            `json:"icon" sql:"VARCHAR"`

	Level int `json:"level" sql:"TINYINT"`

	Group    []int  `json:"group" sql:"JSON"`
	Quality  int    `json:"quality" sql:"TINYINT"`
	Weight   int    `json:"weight" sql:"TINYINT"`
	Location string `json:"location" sql:"VARCHAR"`

	Require CompareDataRelationSlice `json:"require" sql:"JSON"`

	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
